package com.shambles.manage2.dto;

import com.shambles.manage2.utils.TimeUtils;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
public class CountRateDTO {
    private List<String> titleData = new ArrayList<>();
    private List<String> date = new ArrayList<>();
    private List<List<Map<String,Object>>> data = new ArrayList<>();

    public CountRateDTO(){

    }

    public CountRateDTO(Long sTime, Long eTime) {
        date = TimeUtils.getDayList(sTime, eTime);
    }
}
